<template>
  <el-option value="1" hidden></el-option>
  <div style="height: auto; background-color: #fff" class="container">
    <SceneContainerTree
      :table-body-data="options"
      :tree-title="'项目管理'"
      :label-field="treeOptionConfig?.label ?? 'label'"
      :lazy="false"
      :size="size"
    ></SceneContainerTree>
  </div>
</template>
<script setup>
import SceneContainerTree from "@gd-accbuild-ui/scene-container/scene-container-tree/scene-container-tree.vue";
import {
  util_GetRowAttrVal,
  util_OptionChainHack,
  util_GetCurComponentAttrWithInheritedAttr,
} from "@gd-accbuild-ui/gd-ui/utils/index";
const props = defineProps({
  options: {
    type: Array,
    default: () => [],
  },
  treeOptionConfig: {
    type: Object,
    default: () => ({}),
  },
  size: {
    type: String,
    default: "default",
  },
});
</script>
<style scoped lang="scss">
.container :deep(.tree-container) {
  pointer-events: none;
}
.container :deep(.tree-container > uni-view){
  pointer-events: auto;
}
</style>
